<table class="tb tb-b width-100 c-t-center" data-toggle="tbHover">
    <tr>
        <th style="width:30%">标题</th>
        <th>图片</th>
        <th>类型</th>
        <th>排序</th>
        <th>状态</th>
        <th>操作</th>
    </tr>
    <volist name="list" id="vo">
        <tr data-id="{$vo.id}">
            <td>{$vo.title|default="未填写"}</td>
            <td><img src="{$vo.cover}" width="50" height="50"></td>
            <td>{$typeDic[$vo['ad_type']]}</td>
            <td>{$vo.sort}</td>
            <td>{:getStateName($vo['state'])}</td>
            <td>
                <if condition="$vo['state'] eq 1">
                    <a href="javascript:;" data-href="/Console/Ad/edit?id={$vo.id}"
                        class="jump-href c-btn c-btn-green m5 c-btn-small">编辑</a>
                </if>

                <if condition="$vo['state'] eq 1">
                    <a href="javascript:;" data-id="{$vo.id}" class="del-btn c-btn c-btn-red m5 c-btn-small">删除</a>
                    <else />
                    <a href="javascript:;" data-id="{$vo.id}" class="open-btn c-btn c-btn-green m5 c-btn-small">恢复</a>
                </if>


            </td>
        </tr>
    </volist>
</table>

<div class="my-page c-t-right mt20 clearfix" data-total="{$pageTotal}">
    <div class="fl c-f17 c-999" style="line-height: 34px">共计：<span class="c-007cd9 pr10">{$total}</span>条</div>
    {$pageHtml}
</div>